package org.will.jms;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;
import java.util.Map;

/**
 * Created by EdifierWill on 2016/8/9.
 */
@XmlRootElement
public class Operation {

    private String table;
    private String type;
    private Date ts;
    private Integer numCols;
    private Map<String,OperationCol> cols;

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getNumCols() {
        return numCols;
    }

    public void setNumCols(Integer numCols) {
        this.numCols = numCols;
    }

    public Map<String, OperationCol> getCols() {
        return cols;
    }

    public void setCols(Map<String, OperationCol> cols) {
        this.cols = cols;
    }
}
